<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<%-- <%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
 <base href="<%=basePath%>"> --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title></title>
        <link type="text/css" rel="stylesheet" media="all" href="../css/global.css" />
        <link type="text/css" rel="stylesheet" media="all" href="../css/global_color.css" /> 
    </head>
    <body class="index">
        <!--导航区域开始-->
        <div id="index_navi">
            <ul id="menu">
            		<!-- 主页 -->
           		 <li><a href="index.jsp" class="index_on"></a></li>
           		 
           		<!--  角色管理 -->
            	 <c:set var="contains" value = "no"/>
                	<c:forEach var="power" items="${power}" begin="0" end="${fn:length(power)}">
                		<c:if test="${power == 1 }">
                			<c:set var="contains" value="yes" />
                		</c:if>
                	</c:forEach>
                	<c:choose>
                		<c:when test="${contains=='yes' }">
                			<li><a href="../RoleSelectServlet" class="role_off"></a></li> 				
                			<!-- 管理员 -->
                			<li><a href="../AdminSelectAllServlet" class="admin_off"></a></li>
                		</c:when>
                		<c:otherwise>
                			<li><a href="nopower.jsp" class="role_off"></a></li>
                			<li><a href="nopower.jsp" class="admin_off"></a></li>
                			
                		</c:otherwise>
                	</c:choose>
                	
              <!--   资费管理 -->
                <c:set var="contains" value = "no"/>
                	<c:forEach var="power" items="${power}" begin="0" end="${fn:length(power)}">
                		<c:if test="${power == 2 }">
                			<c:set var="contains" value="yes" />
                		</c:if>
                	</c:forEach>
                	<c:choose>
                		<c:when test="${contains=='yes' }">
                	        <li><a href="fee/fee_list.jsp" class="fee_off"></a></li>
                		</c:when>
                		<c:otherwise>
                			<li><a href="nopower.jsp" class="fee_off"></a></li>
                		</c:otherwise>
                	</c:choose>
               <!--  财务账号 -->
                  <c:set var="contains" value = "no"/>
                	<c:forEach var="power" items="${power}" begin="0" end="${fn:length(power)}">
                		<c:if test="${power == 3 }">
                			<c:set var="contains" value="yes" />
                		</c:if>
                	</c:forEach>
                	<c:choose>
                		<c:when test="${contains=='yes' }">
                			<li><a href="account/account_list.jsp" class="account_off"></a></li>
                		</c:when>
                		<c:otherwise>
                			<li><a href="nopower.jsp" class="account_off"></a></li>
                		</c:otherwise>
                	</c:choose>
                	<!-- 业务账号 -->
                	  <c:set var="contains" value = "no"/>
                	<c:forEach var="power" items="${power}" begin="0" end="${fn:length(power)}">
                		<c:if test="${power == 4 }">
                			<c:set var="contains" value="yes" />
                		</c:if>
                	</c:forEach>
                	<c:choose>
                		<c:when test="${contains=='yes' }">
                			 <li><a href="service/service_list.jsp" class="service_off"></a></li>
                		</c:when>
                		<c:otherwise>
                			<li><a href="nopower.jsp" class="service_off"></a></li>
                		</c:otherwise>
                	</c:choose>
                	<!-- 账单管理 -->
                	<c:set var="contains" value = "no"/>
                	<c:forEach var="power" items="${power}" begin="0" end="${fn:length(power)}">
                		<c:if test="${power == 5 }">
                			<c:set var="contains" value="yes" />
                		</c:if>
                	</c:forEach>
                	<c:choose>
                		<c:when test="${contains=='yes' }">
                			 <li><a href="bill/bill_list.jsp" class="bill_off"></a></li>
                		</c:when>
                		<c:otherwise>
                			<li><a href="nopower.jsp" class="bill_off"></a></li>
                		</c:otherwise>
                	</c:choose>
                	<!-- 报表管理 -->
                	<c:set var="contains" value = "no"/>
                	<c:forEach var="power" items="${power}" begin="0" end="${fn:length(power)}">
                		<c:if test="${power == 6 }">
                			<c:set var="contains" value="yes" />
                		</c:if>
                	</c:forEach>
                	<c:choose>
                		<c:when test="${contains=='yes' }">
                			 <li><a href="report/report_list.jsp" class="report_off"></a></li>
                		</c:when>
                		<c:otherwise>
                			<li><a href="nopower.jsp" class="report_off"></a></li>
                		</c:otherwise>
                	</c:choose>
                	<li><a href="../AdminSelectSelServlet" class="information_off"></a></li>
                	<li><a href="user/user_modi_pwd.jsp" class="password_off"></a></li>
                <!-- <li><a href="role/role_list.jsp" class="role_off"></a></li> -->
                <!-- <li><a href="admin/admin_list.jsp" class="admin_off"></a></li> -->
                <!-- <li><a href="fee/fee_list.jsp" class="fee_off"></a></li> -->
                <!-- <li><a href="account/account_list.jsp" class="account_off"></a></li> -->
             <!--    <li><a href="service/service_list.jsp" class="service_off"></a></li> -->
                <!-- <li><a href="bill/bill_list.jsp" class="bill_off"></a></li> -->
                <!-- <li><a href="report/report_list.jsp" class="report_off"></a></li> -->
                <!-- <li><a href="../AdminSelectSelServlet" class="information_off"></a></li>
                <li><a href="user/user_modi_pwd.jsp" class="password_off"></a></li> -->
            </ul>
        </div>
    </body>
</html>